package com.ttg.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;


@Data
@TableName(value = "tbl_dict")
public class Dict {
    /**
     * 字典主键
     */
    @TableId(value = "dict_id", type = IdType.AUTO)
    private Long dictId;

    /**
     * 字典名称
     */
    @TableField(value = "dict_name")
    private String dictName;


    /**
     * 数据库对应字段表名
     */
    @TableField(value = "dict_table")
    private String dictTable;

    /**
     * 数据库对应字段字段名
     */
    @TableField(value = "dict_field")
    private String dictField;

    /**
     * 创建时间
     */
    @TableField(value = "dict_add_time")
    private LocalDateTime dictAddTime;


}